package com.gitee.hljdrl.logger;


public abstract class LogOut implements com.gitee.hljdrl.logger.LogEvent {


    protected static String toString(String... list) {
        StringBuffer buf = new StringBuffer();
        for (String item : list) {
            buf.append(item);
        }
        return buf.toString();
    }

    protected static String toString(Object... list) {
        StringBuffer buf = new StringBuffer();
        for (Object item : list) {
            if (item != null) {
                buf.append(item.toString());
            } else {
                buf.append(" NULL ");
            }
        }
        return buf.toString();
    }

}
